<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{% if name %}
<h1>产生的随机数有效！</h1>
{% else %}
<h1>产生的随机数无效！</h1>
{% end if %}
</body>
</html>